from django.urls import path
from . import views
'''
1. Add an import:  from my_app import views
2. Add a URL to urlpatterns:  path('', views.home, name='home')
'''

app_name = 'operate'
# 应用路由
urlpatterns = [
    # 第一个参数是路由路径，第二个参数是路由对应的视图路由
    # 第三个参数是路由名字
    path('collect/', views.collect, name="collect"),
    path('change_collect/', views.change_collect, name="change_collect"),
]